﻿using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_Hugula_Pool_ReferenceCount : LuaObject {
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	static public int get_assetbundle(IntPtr l) {
		try {
			Hugula.Pool.ReferenceCount self=(Hugula.Pool.ReferenceCount)checkSelf(l);
			pushValue(l,true);
			pushValue(l,self.assetbundle);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	static public int set_assetbundle(IntPtr l) {
		try {
			Hugula.Pool.ReferenceCount self=(Hugula.Pool.ReferenceCount)checkSelf(l);
			System.String v;
			checkType(l,2,out v);
			self.assetbundle=v;
			pushValue(l,true);
			return 1;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	static public void reg(IntPtr l) {
		getTypeTable(l,"Hugula.Pool.ReferenceCount");
		addMember(l,"assetbundle",get_assetbundle,set_assetbundle,true);
		createTypeMetatable(l,null, typeof(Hugula.Pool.ReferenceCount),typeof(UnityEngine.MonoBehaviour));
	}
}
